package com.basic.modules.nykf.controller;

import com.basic.common.utils.R;
import com.basic.modules.nykf.service.KhflsjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("new/ykf/Khflsj")
public class KhflsjController {

    @Autowired
    KhflsjService khflsjService;

    /**
     * 客户统计
     * @return
     */
    @PostMapping("/statistics1")
    public R statistics1(){
        return R.ok(khflsjService.statistics1());
    }
}
